from selenium import webdriver
import time

from selenium.webdriver.common.by import By

# driver1 = webdriver.Edge()
# time.sleep(10)
driver2 = webdriver.Chrome()
driver2.get('https://www.baidu.com')
# driver2.find_element(By.ID, 'kw').send_keys('1')
# driver2.find_element(By.NAME,'wd').send_keys('2')
# driver2.find_element(By.CLASS_NAME,'s_ipt').send_keys('3')
# driver2.find_element(By.XPATH,'//*[@id="kw"]').send_keys4')
# driver2.find_element(By.XPATH,'/html/body/div[1]/div[1]/div[5]/div/div/form/span[1]/input').send_keys('5')
# driver2.find_element(By.CSS_SELECTOR, '#kw').send_keys('6')
# driver2.find_element(By.CSS_SELECTOR, '#form.fm.has-soutu span.bg.s_ipt_wr.new-pmd.quickdelete-wrap input#kw.s_ipt').send_keys('7')
driver2.find_element(By.CSS_SELECTOR, '.s_ipt').send_keys('8')
driver2.find_element(By.LINK_TEXT, '')
driver2.find_element(By.PARTIAL_LINK_TEXT, '')
time.sleep(3)
# drive3 = webdriver.Firefox()
